VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form FrmConstancias 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Listar Constancias Emitidas"
   ClientHeight    =   9915
   ClientLeft      =   3195
   ClientTop       =   3885
   ClientWidth     =   9780
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   9915
   ScaleWidth      =   9780
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   WindowState     =   2  'Maximized
   Begin VB.CommandButton Command2 
      Caption         =   "Salir"
      BeginProperty Font 
         Name            =   "Eras Bold ITC"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   400
      Left            =   7800
      TabIndex        =   5
      Top             =   6240
      Width           =   1455
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Aceptar"
      BeginProperty Font 
         Name            =   "Eras Bold ITC"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   400
      Left            =   6240
      TabIndex        =   0
      Top             =   6240
      Width           =   1455
   End
   Begin MSComCtl2.DTPicker DTPicker1 
      Height          =   375
      Left            =   6120
      TabIndex        =   1
      Top             =   5400
      Width           =   1455
      _ExtentX        =   2566
      _ExtentY        =   661
      _Version        =   393216
      Format          =   245563393
      CurrentDate     =   40289
   End
   Begin MSComCtl2.DTPicker DTPicker2 
      Height          =   375
      Left            =   8040
      TabIndex        =   3
      Top             =   5400
      Width           =   1455
      _ExtentX        =   2566
      _ExtentY        =   661
      _Version        =   393216
      Format          =   245563393
      CurrentDate     =   40289
   End
   Begin VB.Label SkinLabel1 
      Caption         =   "Desde:"
      Height          =   495
      Left            =   6120
      TabIndex        =   2
      Top             =   4920
      Width           =   1455
   End
   Begin VB.Label SkinLabel2 
      Caption         =   "Hasta:"
      Height          =   495
      Left            =   8040
      TabIndex        =   4
      Top             =   4920
      Width           =   1455
   End
End
Attribute VB_Name = "FrmConstancias"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
    'Set 'FrmReporte.Report = New rptCons
    f1 = "#" & Format(DTPicker1.Value, "mm/dd/yyyy") & "#"
    f2 = "#" & Format(DTPicker2.Value, "mm/dd/yyyy") & "#"
    f = "{constancia.fecha}>=" & f1 & " and {constancia.fecha}<=" & f2
    'FrmReporte.Report.RecordSelectionFormula = f
    'FrmReporte.Report.ParameterFields.GetItemByName("NombreLab").AddCurrentValue (NombreLab)
    
    'FrmReporte.Show vbModal
End Sub

Private Sub Command2_Click()
    Unload Me
End Sub

Private Sub Form_Load()
    DTPicker1.Value = Date
    DTPicker2.Value = Date
End Sub

